#pragma once
#include "InteractableObject.h"

class Player;
class World;

class Warp: public InteractableObject
{
public:
	Warp(float x, float y , int DESTINATION, float TarX, float TarZ , Player* player, World* WorldP, LPDIRECT3DDEVICE9 device);
	~Warp(void);
	void Interact();
private:
	int DESTINATION_;
	float TargetX,TargetZ;
	World* World_; // pointer to the world
	Player* player_; // pointer to thep player
};

